﻿using System;

class NullAssignment
{
    static void Main()
    {
        int? nullInt = null;
        double? nullDouble = null;

        Console.WriteLine("The value of a Null integer is: {0}", nullInt);
        Console.WriteLine("The value of a Null integer + 5 is: {0}", nullInt + 5);

        Console.WriteLine("The value of a Null double is: {0}", nullDouble);
        Console.WriteLine("The value of a Null double + 5.23 is: {0}", nullDouble + 5.23);

        nullInt = 7;
        nullDouble = 7.7777;

        Console.WriteLine("The value of the Null integer after a number assignment is: {0}", nullInt);
        Console.WriteLine("The value of the Null double after a number assignment is: {0}", nullDouble);
    }
}
